package com.fastloan.mgt.daily.model;


import com.kawins.base.baseabs.BaseModel;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "W_WORK_CONTENT")
public class WorkContent extends BaseModel<Integer> {
    /**
     * 工作内容ID
     */
    @Id
    @Column(name = "WORK_CONTENT_ID")
    private Integer workContentId;

    /**
     * 工作内容父ID
     */
    @Column(name = "WORK_CONTENT_PARENT_ID")
    private Integer workContentParentId;

    /**
     * 工作内容
     */
    @Column(name = "WORK_CONTENT")
    private String workContent;

    /**
     * 机构id
     */
    @Column(name = "ORG_ID")
    private String orgId;

    @Column(name = "MODIFY_TIME")
    private Date modifyTime;

    @Column(name = "CREATE_TIME")
    private Date createTime;

    @Column(name = "USER_ID")
    private String userId;

    @Column(name = "IS_NEED_CUSTOMER")
    private Integer isNeedCustomer;

    public Integer getIsNeedCustomer() {
        return isNeedCustomer;
    }

    public WorkContent setIsNeedCustomer(Integer isNeedCustomer) {
        this.isNeedCustomer = isNeedCustomer;
        return this;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public WorkContent setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public WorkContent setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public WorkContent setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getOrgId() {
        return orgId;
    }

    public WorkContent setOrgId(String orgId) {
        this.orgId = orgId;
        return this;
    }

    /**
     * 获取工作内容ID
     *
     * @return WORK_CONTENT_ID - 工作内容ID
     */
    public Integer getWorkContentId() {
        return workContentId;
    }

    /**
     * 设置工作内容ID
     *
     * @param workContentId 工作内容ID
     */
    public void setWorkContentId(Integer workContentId) {
        this.workContentId = workContentId;
    }

    /**
     * 获取工作内容父ID
     *
     * @return WORK_CONTENT_PARENT_ID - 工作内容父ID
     */
    public Integer getWorkContentParentId() {
        return workContentParentId;
    }

    /**
     * 设置工作内容父ID
     *
     * @param workContentParentId 工作内容父ID
     */
    public WorkContent setWorkContentParentId(Integer workContentParentId) {
        this.workContentParentId = workContentParentId;
        return this;
    }

    /**
     * 获取工作内容
     *
     * @return WORK_CONTENT - 工作内容
     */
    public String getWorkContent() {
        return workContent;
    }

    /**
     * 设置工作内容
     *
     * @param workContent 工作内容
     */
    public void setWorkContent(String workContent) {
        this.workContent = workContent;
    }
}